<ul class="breadcrumb">
	<li><span class="primary-font"><i class="fa fa-home"></i></span><a href="javascript:;" class="itemHasChild" refTpl="html/pcsuccess/main.tpl" refJs="js/pcsuccess/main.js" ty="1"> 主页</a></li>
	<li>故障报修</li>	 
	<li>故障类型</li>	 
</ul>

<div class="smart-widget">
	<div class="smart-widget-header">
		<div class="search-input">
			<input type="text" class="form-control input-sm inline-block" id="searchParams" name="searchParams">
		</div>
		<span class="smart-widget-option">
			<button id="addFault" class="btn btn-success marginTB-xs">新增维修类型</button>
        </span>
	</div>
	<div class="smart-widget-inner">
		<div class="smart-widget-hidden-section">
			<ul class="widget-color-list clearfix">
				<li style="background-color:#20232b;" data-color="widget-dark"></li>
				<li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
				<li style="background-color:#23b7e5;" data-color="widget-blue"></li>
				<li style="background-color:#2baab1;" data-color="widget-green"></li>
				<li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
				<li style="background-color:#fbc852;" data-color="widget-orange"></li>
				<li style="background-color:#e36159;" data-color="widget-red"></li>
				<li style="background-color:#7266ba;" data-color="widget-purple"></li>
				<li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
				<li style="background-color:#fff;" data-color="reset"></li>
			</ul>
		</div>
		<div class="smart-widget-body">
			<table class="table table-striped" id="messageTable">
	      		
		    </table>
		</div>
	</div>
</div>
<!-- 增加故障类型模态框 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" id="addFaultMation" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">新增故障类型</h4>
            </div>
            <div class="modal-body">
                <form id="addfaultForm" class="form-horizontal form-bordered" role="form">
                    <div class="form-group">
                        <label for="faultName" class="col-sm-2 control-label no-padding-right">故障名称:</label>
                        <div class="col-sm-10">
                            <input type="input" class="form-control" id="faultName" name="faultName" maxLength="15">
                        </div>
                        <label for="type" class="col-sm-2 control-label no-padding-right">报修类型:</label>
                        <div class="col-sm-10">
                            <select class="form-control" id="type" name="type">
                        		
                        		<option value="1">个人报修</option>
                        		<option value="2">公共报修</option>
                        	</select>
                        </div>
                    </div>
                    
                    <div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit" class="btn btn-palegreen">保存</button>
						</div>
					</div>
                </form>
            </div>
        </div>
    </div>
</div>


<div class="modal fade bs-example-modal-lg" tabindex="-1" id="updateFaultMation" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">修改故障类型</h4>
            </div>
            <div class="modal-body">
                <form id="updatefaultForm" class="form-horizontal form-bordered" role="form">
                    <div class="form-group">
                        <label for="updatefaultName" class="col-sm-2 control-label no-padding-right">故障类型:</label>
                        <div class="col-sm-10">
                            <input type="input" class="form-control" id="updatefaultName" name="updatefaultName" maxLength="15">
                        </div>
                        <label for="updatetype" class="col-sm-2 control-label no-padding-right">报修类型:</label>
                        <div class="col-sm-10">
                            <select class="form-control" id="updatetype" name="updatetype">
                        		
                        		<option value="1">个人报修</option>
                        		<option value="2">公共报修</option>
                        	</select>
                        </div>
                    </div>
                    
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit" class="btn btn-palegreen">保存</button>
						</div>
					</div>
                </form>
            </div>
        </div>
    </div>
</div>